Derivative of cosec(x) by method of first principle